package com.qmx.launcher.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * @author chengxiangtong
 * @date 2018/12/6
 * version : 1.0
 * class describe：*
 */
public class JoinMeeting implements Serializable {


    /**
     * clients : {"10006":{"id":10006,"name":"启明星会议终端M1","namecode":"qimingxinghuiyizhongduanM1;qmxhyzdM1","avatar":"/assets/img/device.png","is_device":"1","mic":1,"camera":"0"}}
     * configs : {"auto_call":"0","auto_video":0,"auto_mute":"0","join_pwd":0,"say_pwd":1,"session":3,"main":{"uid":10006,"is_device":1},"mute":0}
     * share : []
     * uids : []
     * starttime : 1544174775
     * endtime : 0
     * eid : 0
     * room_id : 20000001
     * root_id : 10006
     * admin_id : 10006
     * take_title : 启明星会议终端M1的云会议室
     * take_type : meeting
     * take_id : 117
     * record : null
     * count : 1
     */

    private Clients clients;
    private Configs configs;
    private int starttime;
    private int endtime;
    private int eid;
    private int room_id;
    private int root_id;
    private int admin_id;
    private String take_title;
    private String take_type;
    private String take_id;
    private Object record;
    private int count;
    private List<?> share;
    private List<?> uids;

    public Clients getClients() {
        return clients;
    }

    public void setClients(Clients clients) {
        this.clients = clients;
    }

    public Configs getConfigs() {
        return configs;
    }

    public void setConfigs(Configs configs) {
        this.configs = configs;
    }

    public int getStarttime() {
        return starttime;
    }

    public void setStarttime(int starttime) {
        this.starttime = starttime;
    }

    public int getEndtime() {
        return endtime;
    }

    public void setEndtime(int endtime) {
        this.endtime = endtime;
    }

    public int getEid() {
        return eid;
    }

    public void setEid(int eid) {
        this.eid = eid;
    }

    public int getRoom_id() {
        return room_id;
    }

    public void setRoom_id(int room_id) {
        this.room_id = room_id;
    }

    public int getRoot_id() {
        return root_id;
    }

    public void setRoot_id(int root_id) {
        this.root_id = root_id;
    }

    public int getAdmin_id() {
        return admin_id;
    }

    public void setAdmin_id(int admin_id) {
        this.admin_id = admin_id;
    }

    public String getTake_title() {
        return take_title;
    }

    public void setTake_title(String take_title) {
        this.take_title = take_title;
    }

    public String getTake_type() {
        return take_type;
    }

    public void setTake_type(String take_type) {
        this.take_type = take_type;
    }

    public String getTake_id() {
        return take_id;
    }

    public void setTake_id(String take_id) {
        this.take_id = take_id;
    }

    public Object getRecord() {
        return record;
    }

    public void setRecord(Object record) {
        this.record = record;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<?> getShare() {
        return share;
    }

    public void setShare(List<?> share) {
        this.share = share;
    }

    public List<?> getUids() {
        return uids;
    }

    public void setUids(List<?> uids) {
        this.uids = uids;
    }

    public static class Clients {
        /**
         * 10006 : {"id":10006,"name":"启明星会议终端M1","namecode":"qimingxinghuiyizhongduanM1;qmxhyzdM1","avatar":"/assets/img/device.png","is_device":"1","mic":1,"camera":"0"}
         */

        @SerializedName("10006")
        private _$10006 _$10006;

        public _$10006 get_$10006() {
            return _$10006;
        }

        public void set_$10006(_$10006 _$10006) {
            this._$10006 = _$10006;
        }

        public static class _$10006 {
            /**
             * id : 10006
             * name : 启明星会议终端M1
             * namecode : qimingxinghuiyizhongduanM1;qmxhyzdM1
             * avatar : /assets/img/device.png
             * is_device : 1
             * mic : 1
             * camera : 0
             */

            private int id;
            private String name;
            private String namecode;
            private String avatar;
            private String is_device;
            private int mic;
            private String camera;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getNamecode() {
                return namecode;
            }

            public void setNamecode(String namecode) {
                this.namecode = namecode;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getIs_device() {
                return is_device;
            }

            public void setIs_device(String is_device) {
                this.is_device = is_device;
            }

            public int getMic() {
                return mic;
            }

            public void setMic(int mic) {
                this.mic = mic;
            }

            public String getCamera() {
                return camera;
            }

            public void setCamera(String camera) {
                this.camera = camera;
            }
        }
    }

    public static class Configs {
        /**
         * auto_call : 0
         * auto_video : 0
         * auto_mute : 0
         * join_pwd : 0
         * say_pwd : 1
         * session : 3
         * main : {"uid":10006,"is_device":1}
         * mute : 0
         */

        private String auto_call;
        private int auto_video;
        private String auto_mute;
        private int join_pwd;
        private int say_pwd;
        private int session;
        private Main main;
        private int mute;

        public String getAuto_call() {
            return auto_call;
        }

        public void setAuto_call(String auto_call) {
            this.auto_call = auto_call;
        }

        public int getAuto_video() {
            return auto_video;
        }

        public void setAuto_video(int auto_video) {
            this.auto_video = auto_video;
        }

        public String getAuto_mute() {
            return auto_mute;
        }

        public void setAuto_mute(String auto_mute) {
            this.auto_mute = auto_mute;
        }

        public int getJoin_pwd() {
            return join_pwd;
        }

        public void setJoin_pwd(int join_pwd) {
            this.join_pwd = join_pwd;
        }

        public int getSay_pwd() {
            return say_pwd;
        }

        public void setSay_pwd(int say_pwd) {
            this.say_pwd = say_pwd;
        }

        public int getSession() {
            return session;
        }

        public void setSession(int session) {
            this.session = session;
        }

        public Main getMain() {
            return main;
        }

        public void setMain(Main main) {
            this.main = main;
        }

        public int getMute() {
            return mute;
        }

        public void setMute(int mute) {
            this.mute = mute;
        }

        public static class Main {
            /**
             * uid : 10006
             * is_device : 1
             */

            private int uid;
            private int is_device;

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getIs_device() {
                return is_device;
            }

            public void setIs_device(int is_device) {
                this.is_device = is_device;
            }
        }
    }
}
